home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / be004.dxr / 00073.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  526 b   |  24 lines

  1. on exitFrame
  2.   set LastTick to the ticks
  3.   set newtick to the ticks
  4.   repeat while the locH of sprite 13 > 110
  5.     set y to 1 * (the ticks - LastTick)
  6.     set x to 2 * (the ticks - newtick)
  7.     set LastTick to the ticks
  8.     set newtick to the ticks
  9.     set the locH of sprite 13 to the locH of sprite 13 - x
  10.     set the locV of sprite 13 to the locV of sprite 13 - y
  11.     updateStage()
  12.   end repeat
  13.   if the timer < 1930 then
  14.     go(the frame)
  15.   else
  16.     go(the frame + 1)
  17.   end if
  18.   go(the frame)
  19. end
  20.  
  21. on mouseUp
  22.   go(80)
  23. end
  24.